package design.patterns.commandmodel.simpledemo;

/**
 * @Desc:   客户端角色
 * @author: cww
 * @DateTime: 2020-06-13 10:23
 */

public class Client {
    public static void main(String[] args) {
        Receiver receiver = new Receiver();
        Command command = new ConcreteCommand(receiver);
        Invoker invoker = new Invoker(command);
        invoker.action();

    }
}
